﻿#ifndef CMDSURFACEELECTRICFIELDMAPSIDEBARDELETESURFACEELECTRICFIELDMAP_H
#define CMDSURFACEELECTRICFIELDMAPSIDEBARDELETESURFACEELECTRICFIELDMAP_H

#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    class CmdSurfaceElectricFieldMapSidebarDeleteSurfaceElectricFieldMap : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdSurfaceElectricFieldMapSidebarDeleteSurfaceElectricFieldMap();
        ~CmdSurfaceElectricFieldMapSidebarDeleteSurfaceElectricFieldMap();

        bool execute() override;
        void undo() override;
        void redo() override;

        void setArgs(int windowId, QString selectedIndexs) 
        {
            m_windowId = windowId;
            m_selectedIndexs = selectedIndexs; 
        }

    private:
        int m_windowId;
        QString m_selectedIndexs;

    };
}


#endif // !CMDSURFACEELECTRICFIELDMAPSIDEBARDELETESURFACEELECTRICFIELDMAP_H
